package com.duobaoyu.dby.supply.biz.client.resource.bean.dto;

import com.duobaoyu.dby.resource.remote.common.json.PlatformServiceMappingInfoJson;
import com.duobaoyu.dby.resource.remote.common.json.ProductPriceConfigInfoJson;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author liyang
 * @version 1.0.0
 * @ClassName BusinessConfigDTO
 * @createTime 12:19:00 2023/10/08
 */
@Data
public class BusinessConfigDTO implements Serializable {

    private static final long serialVersionUID = -5811537655687037542L;
    /**
     * 业务ID
     */
    @ApiModelProperty(value = "业务ID")
    private Long id;

    /**
     * 业务编码
     */
    @ApiModelProperty(value = "业务编码")
    private String bizCode;

    /**
     * 业务描述
     */
    @ApiModelProperty(value = "业务描述")
    private String bizDescribe;

    /**
     * 商品映射
     */
    @ApiModelProperty(value = "商品映射")
    private Integer saasProductMapping;

    /**
     * 订单编号前缀
     */
    @ApiModelProperty(value = "订单编号前缀")
    private String orderSnPrefix;


    /**
     * 自定义业务
     */
    @ApiModelProperty(value = "自定义业务")
    private String bizCustom;
	/**
	 * 商品映射索引名
	 */
	@ApiModelProperty(value = "商品映射索引名")
	private String indexName;
	/**
     * 商品映射索引别名
     */
    @ApiModelProperty(value = "商品映射索引别名")
    private String indexAlias;

    /**
     * 商户价格类型
     */
    @ApiModelProperty(value = "商户价格类型")
    private Integer mchPriceType;

    /**
     * 总平台产品线映射信息集合
     */
    @ApiModelProperty(value = "总平台产品线映射信息集合")
    private List<PlatformServiceMappingInfoJson> platformServiceMappingInfo;

    /**
     * 商品价格配置信息集合
     */
    @ApiModelProperty(value = "商品价格配置信息集合")
    private List<ProductPriceConfigInfoJson> productPriceConfigInfo;

    /**
     * 状态：0->不启用；1->启用
     */
    @ApiModelProperty(value = "状态：0->不启用；1->启用")
    private Integer status;
}
